package com.core.util;

import com.fasterxml.jackson.databind.ObjectMapper;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Map;

/**
 * @author tmh
 * @date 2023/5/9 22:43
 * @description
 */
public class Test {
    public static void main(String[] args) throws IOException {

//        String jsonString =  "[{"stadiumName":"Stadium A","age":20},{"stadiumName":"Stadium B","age":30}]";
//        ObjectMapper objectMapper = new ObjectMapper();
//        ArrayList<Map<String, Object>> list = objectMapper.readValue(jsonString, ArrayList.class);
//        System.out.println(list);
    }
}



